package com.dangdang.util;

/**
 * 常量值库
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-18
 */
public class Constants {

	/** 成功标志 */
	public static final String FORWARD_SUCCESS = "success";

	/** 失败标志 */
	public static final String FORWARD_FAIL = "fail";

	/** 用户已登录标识 */
	public static final String USER_KEY = "user_key";

	/***/
	public static final String NUMBER_KEY = "com.dangdang.number.key";

	/** 购物车存在与否标示值 */
	public static final String CART_SERVICE = "com.dangdang.service.CartService";

	/** 购物车购买的商品状态(此状态可以被购买) */
	public static final int CART_STATUS_OK = 0;

	/** 购物车购买的商品状态(此状态已经被购买) */
	public static final int CART_STATUS_EXIST = 1;

}
